package com.whu.waterworks.service;

import java.util.List;

import com.whu.waterworks.dao.CommontypeDAO;
import com.whu.waterworks.model.Commontype;


public class CommontypeService {
	private CommontypeDAO commontypeDAO;

	public List<Commontype> getAll() {
		return commontypeDAO.findAll();
	}
	public CommontypeDAO getCommontypeDAO() {
		return commontypeDAO;
	}

	public void setCommontypeDAO(CommontypeDAO commontypeDAO) {
		this.commontypeDAO = commontypeDAO;
	}
	
}
